import { ApiProperty } from '@nestjs/swagger';

export class UserBasicInfoResponseDto {
  @ApiProperty({ description: 'Unique identifier of the user' })
  id: string;

  @ApiProperty({ description: 'Username of the user' })
  username: string;

  @ApiProperty({ description: 'Full name of the user' })
  fullName: string;

  @ApiProperty({ description: 'Whether the user is enabled', required: false })
  enabled?: boolean;

  @ApiProperty({ description: 'Avatar URL of the user', required: false })
  avatarUrl?: string;

  @ApiProperty({
    description: 'Whether the user is the account group creator',
    required: false,
  })
  isAccountGroupCreator?: boolean;

  @ApiProperty({
    description: 'Whether the user is the account group admin',
    required: false,
  })
  isAccountGroupAdmin?: boolean;
}
